added ability to subset to dates of interest