added port setting