added some temporary debug statements as I get cpi level integration tests done