add validations and two rules