Fix main fn to not rethrow