timer functions added, still busted