added thread safe example to report