added functional elements to the intro examples