trying parameter fitting