added third argument for output root file