Added external calls for records/arrays