minor tidying up of ECstats class