updated for next iteration