first attempt at chainable continuation passing
cleanup example