graph doesn't work