Modified the Function

改了些函数
Merge pull request #1 from yuanguozheng/master

Modified the Function