dynamic graph working!