Setting up the domain