finish the chi and pi part
Merge remote-tracking branch 'origin/master'