in the same way the category query works -> in the same way as the category query