finished with redis implementation details