added option to select port