makeTransport refactored
implemented 16, 19
implemented function 18