DOC: cookbook updates - added idiom section