added exports.createStructure