Changed loop number