fixed inconsistent naming of example function