new js-logic w/ tempo