graph example works now