equivalent to setup contrail functionality