removing redis dependency