added validations from to