style nit: in addition to joining this to the previous line, there should be a space after `if`