Using send_data method to export data