adding a function for UL UDP