adding redis support