deleted call to draw graph