How does the creation of labels work?