implement es6 source-code