Create LoopDetection