add labels to code generated