sync with changes from elife jnl cookbook