add iteration run and handle real id vs test id