Port implementation