moved es6 main to es5