changed to use textblocks instead of labels