Why have these function a named return parameter called err?
Do they return an err? Can these return errors? If so, please make it so