added new domain constraint method