nit: better rename this var to `nextCallback` or something like that