getAccuracy loop removed