if there's an error because of bad formatting/etc, this appears to loop forever.