small refactoring, indention