Why aren't you using a plain hash for that?