added checks to the labels