Thanks Markus, I have solved it , your method is just functional :P