Modified to return data from Redis.