adding the same for redis