for game class