add optional ports to process, not the port itself