changed to redis