game reset function added