remove unused function, fixed #34
Merge pull request #37 from fredr/develop

remove unused function, fixed #34