support ES6 features