send function: change wait