helpers functions to generate report
sandbox work