added coolness every 10 loops