graph and gauge now work