Rafael's exercise 01: transitions