added contains method for domains