this is mgr api.