add check for if the label was found