Editing the transducers example a bit