a better error handling strategy is likely important here.