nit: `if (`