fixed variable typo: $days, not $string