lib for dp