added createSample.js