refactor: condense