added es6 output