new graph + refs