Move caps to beginning of loop