commented out some scaling code that does not work right