add domain paramter support