arrow antipattern; check and return and then do the rest