implemented some more queries