add end_of_day so can capture