Condensed and annotated. Fixed #1 and #2.