parameterized port and interface