only log if iteration is more than 0