small chagnes in graph building