added port selection