Adding error file, for things still to fix.
Changing index to be cleaner