working on query cache