added support for GameTime