setting input and outport parameters
adding method to get inputPort value