graph partly working