adding in graph; should have been its own branch