Added an attempt at the loop amount