Had to revert to string indices for the shelve