error reporting
index