keep vat as a parameter, but add deprecation warning when it's defined