breakout of reports.rb in shared for further work later