Use err in next invocation