added real scaling
merged