added redis integration