added getvoltages
added getvoltages