changed port stuff