adding a simple graph