item and contains method were a bit simplistic in checking for validity and containment of string representations of numericitems