Chapter 5 update for DOM files