use int as port