working version of bpd