fixed typo
fixed examples to fit new methods