Oh, and also don't use a strict equality check - allow an epsilon.