Document and make more functional
bit of formatting to match blog