Unified both send functions