wang gao modify logic