port to var