print the used labels