more port stuff again