Added DPT Algorithm