added a repeat timer