Added example and documentation