wrap everything in try/except for nicer error handling