added parameter for saving report