Changed to every 10 written lines