Using HASH instead of SORTED SETS