removed dead code (according to coveralls)