Added actions to transitions