That is essentially whats happening, except my value is the sequence or object number usually. You could just store the index, yes. I believe I've actually done that before, though again you either have to offset the index because 1 and 2 are reserved for the page keys, or change the numbers the page keys use.