Added type scaling variable