setTime and getTime from gamemodel