Refactor transition implementation