centralised cleanups
chord graphs now work