this if/else could be reversed for clarity, positive condition going first