added port matching