added transistor class