Adding port control