refactoring indents