Added example function and better documentation