Fixed example (closes #250)