AI: typo where Date was spelled Data, also switched back to primitive string comparison from the string object method