easier to just make port an int?  (removes checkNull etc)