DOC 'code' sample