note to self - check to make sure the port type is defined