renderReport function initial implementation