added a sum over all times for a month