fitting now takes standard error in account