integrate Roger's bond-perception/assignment code