better documentation in example