removed unused argument in graphs