first version of graphs