es6 utilities for harmonizer