adjusted callCC and proto callCC so the latter is properly suited for chaining