src(core.js): makes it more express way resolved #1