End of development the send function