slowed down loops by a factor of 10