some send code functions
adding some send code functions