Finished validating loops