automagically select output.