altered dot generation to set label to age