added redis impl.