added port flags