Added defintiions for send()