finished replace TCP with UDP