implement type selection of adding transition