add pve function and drop function