add footer and Sum worktime