trust computation