add ports function to RecordObject