added redis option