renamed main to game