Need to document the `err` as well