adding function example for endorsement/integrity