change days_unchanged to int