fixed examples to deal with func rename