tweaks and chisq