trying to get daily average in