doc: revisted to provide more optimal example