input interface with output