added a static method in ES6 class example