first steps on trasition handling