r -> err