added startGame function