add code to resize label in implementation.