added more documentation for DOM object