add graph and progressbar