extracted module methods to game class