added integration with game class