continued working on queries