Used index for adding record.