Use switch case dispatch for transducer function