tyring to integrate game timer with our main function