almost completed Section 5- just need the appendix
merging