added some trust model stuff