add keys on records
row order and completion