increased dayOfHistory to 400