Finish short-circuit function