insert works for 2 nodes