update code, 2013-11-07, by diwen
update code, 2013-11-07, by diwen