up
move truth record helpers to their own python file