Added a more interesting example, plus comments