added input selection
added input options