add function of validation and acception