keep track of ports