PBD Edit sub stuff