implements Day summary function