ah! even i am not sure about disableLoop and regarding the code i used it so that it looks same like the rest of the code.