removed unused code, comments, small refactorings