adjusted loop to be slower