Finish writing dom

._.