Creating a domain pointer