set_pl/2, erase_pl/2 added