remove dead code
extract handling of input from getting of selection in controller