added 'n'to end game