renamed index to allnotes