unwrapped a loop