to avoid this logic, we can use the "days" as object, or hash for that matter. check above