used Redis hashtable instead of 2 keys