added Redis support