updated documentation/examples