nAa's PBP kernel jb branch