Extending dom