• sum is probably incorrect what I need is the total for each day