Implemented increase_attempt_number