Triple transistor