added getvoltage