BPinP added and implemented