Do not hardcode the number of graphs