changed examples to use correct referenced methods