sped up all of loops by a factor of 10