DOC: cookbook examples