Working cycle detection, woohoo :)