finished input output vars