Make example work

The wrong method was being referenced.