Change to use zset instead of hash