Add the chapter 3 code for node in action