Use port registers; rewire the circuit somewhat