re-work trunk port logic