remove duplicate function
Merge pull request #285 from volvet/develop_b

remove duplicated function