adding more of the transitions functionallity