move date range to lib, part 2