refactor indentation