added multiple trials, graph generator to come next