why this adding is here, not inside ErrorReporter class?