refactor
ports table