added timer and game reset