determine voltage rating