let base class handle on_event assignment
convert more inputs to codecs