added another port, changed the port_status function