add activity analysis