removing Redis dependency