Is `err` supposed to be used at all here? Seems somehow redundant.