maybe wrap these two in parens just to be explicit about the check order. not that it isn't correct, more just in case of future edits. :)