made output selectable