Li's code for 20131208