Added scaling code