You need some way of grouping together entries with the same key.