Added looping timer to factory