variablize the domain