made port test WAY more efficient