added support for vref pins