refactored send function
refactored send function
latest build