added interface for port setup