can save on indentation space by collapsing the above into one conjunctive conditional