changed getinportdata to public
inport data now doesn't get deleted if module is read only and has no outport