added new loopextraction and clip with loop