Redis code added