Shortened the period of the loop