getting closer to correct queries