cleaned up code from putting timers into separate views