added port_check without testing