pass in start and end date