now options to group by day, week, or month