added average to activity history