attached markdown file for chap 2