Added code for displaying daily sums