workig on query cache