Don't forget to increase numberOfTries. Minor cleanup