working on cache client