fitting
now using ScaledNetwork