Fixed example (closes #43)