Changed date objects to strings for better efficiency