add simple label printing function