Added Callbacks to all midway functions