use properties for ports