cleaned up the morse send logic