Adding domainName as a parameter