FIXED: wrong numbering on labels. numbering was being reset on each node instead of per function.