https://image1.slideserve.com/3339256/loop-detection-example-1-t.jpg