added link to github sources for finding the start of the loop