Change the bottoms of the loops