updated to use gametimer