Chi2 now works