Seemingly returning accurate data for single iteration