Fixed wrong method in example