adding validations to plan