made subdomain into a variable