add iteration warning