function public pastedele