added redis initializer