conversion from node to Integer