how pdk works