add validating param