Quries 1-4 working