added callback function called after data is loaded, in cntrol module