Added summary as an argument of reportwriter: