Change _inPorts to inputs and _outPorts to outputs