Change period.hours to period.hoursEstimate