add proper exchange handling in send method

address #10