added voltage variable