Added the example and revised docs