All activity algorithm change