new graph approach, nifished