added debug calls to BPO() class