First step to creating the Dom object