remove call to print graph