portnum was a misleading name IMO