Added ability to specify starting date as well as ending date