add domain constraint