add validation of domain