Began adding text scaling code