Added hook for game mode