speed up the loop a little