testing plot
added class member for voltage reference