add transitions example