this encompasses too much code within the try/except which could potentially create false positives