added exceptions needed for pbc