adding files from Chapter 1 and 2