changed initialization of PBPJson to -1