add label to transition