add switch to show dispatched calls