Clean up for loop