yinPeng's code