add unindexed class with an index check in invalidcars