Implemented PCBs and bounds checks