modified example and docs to be simpler