trying to integrate timers