Mylaps detection loop