added tb queries