tested setTransport