first attempt to build DOM