Introduce callback function from mgr to main