able to pass domElement into instantiated two
merged diff