queries corrected