zhangchen's code svn