moved numbering to nodes