Should this return an error by ref?