implemented error reporter