here we shall build the graphs and all