@jeanmonod what if len(timesheets) == 0 then? zebra_days is not defined and will break afterwards no?