building some more queries