adding setRootLabel method to add a label to the top pot