add initializer for redis