this should probably be !== rather than !=