Thanks for reply, i tried it but it didnt work In some samples i have seen this kind of infinite loop being used, i dont know why it is there.