mark - better error handling for package insert