Made domain a variable