removed references to get_ports method