nit: nice if