new graph manipulation