minor refactoring, use second array of pins in order to send "high" to pins to set outlet to low