add generalstats file
show average cost instead of total