refactoring for common required arguments error
testing domain collection