pulling port out to a var