repeat loop in accuracy test