add new function

add new function
Merge pull request #3 from Fangdl666/master

add new function
Merge remote-tracking branch 'upstream/master'