simple graph works