timing within a loop

If there's code you only want to run once then put it in the setup function.