added callback function to load_server