now can have an arbritrary number of graphs in some order and nobody has to die