Refactored indentation in its own method