graphs fixed

Fixed the graphs so they work again and better than before.