include average in the output