added date range to make prediction