add logging of pledges