improvement in add(node|edge) ?