add new function

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

add new function