updated changes from DOM challenge