updated game class