simplifying interactivity example