new functions to pdplus