actually adding ch6 header & code