making port parser slight shorter. A little less readable