finalized all chapters except analysis