debug logging added for startGame