This change doesn't seem to be equivalent, it seems as though `reg` would have not been passed before. Is this right?