I don't understand this part... If you're just calculating the write index name, then why should this kick up an InvalidIndexError?