edit loops work