better example and docs