added example for transition