updated to write out port information