minor code edits; add conclusion