selection of type