better handling of the NewGame funtion