changed main query to include region