fix tiny typos and add some ggplot code