add pbc to replace luapb