refactor: minor refactor for brevity