use modified credis class