20140806 add printouts, fix bug for inclusive statistics