minor refactor for indentation