port as global var