moving shoot time to loop