added cyclic LL and returnLoopStart