add node id array for functions