working on timers with the db