Refactor for brevity