Removed another useless var.  Added function to get results based on date range.