variant index could be string