refactor for readability
don't need to do a branch on true/false