modify interface of timerbot function