added example function