Implemented Send() function