add ES6 some methods