add new function
Merge branch 'master' of github.com:qcl/master-research