Same here-- you can move the loop outside this function if it's clearer