adds pry for debugging
adds uniqueness for subdomains