distinguish createCollection() and writeCollection(); more jsdoc