(this is all indentation + removing the try/except that wasn't doing anything)