adding in interactions with trext database