updated how scaling works