added giftTable querys