chi squared section finished