domain function

Extra variables for domain estimation