added internal methods for game class