working on subdomain filtering