before graph modeual