Initial version that uses es6templates