add trainsition