renaming a field for clarity and using a more detailed error msg.