Added ways to methods to get the voltage and time.