working basic functionality with timers