Nit: please always use strict equalities when comparing.