expend the function of repeattimer