add date range support