Refactored send method