removed dead code, args in correct order
remove internal function
Merge pull request #25 from greedo/dead_code

removed dead code