fixed startDate if null defaults to today