make transport class dynamic