scale calculated added to demo