formatting and references
moving on to second chapter, leaving two problems in the first unfinished