Same as before. `to_date` should be `by_date`