add easier to remember names for output_*
fix bug in double_input