container: port to es6