First version of transition class