Global max attempts

max_attempts should be global to the mentoring block