Implemented the send method