replaced 'item' with 'record' when appropriate