collation from input to select