added a first version of the transition