add validation to check that iteration number is not blank