change how dispatch function is forwarded