major graph reworking