refactor: reduce indent