removed old code from port class