commented redis code