stylistically, i think it's clearer to put the other logic in an `else` rather than use loop control logic like `continue` (which can just have more likelihood of introducing bugs when someone doesn't realize the loop gets aborted)