added graph print
fixed print