Li-Fan Chen says to YSITD int a = 0; function f(a, x, cont){ a++; return cont(a, a+x); } function g(a, x, cont){ a--; return cont(a, a+x); }