Port init method