Adding a new graph solution