Updated core/index.js