added decrementing guessesLeft element