swap argument order to match v3 spec