es6 class post