Created send function in interface.