Make input- and outputports independent