Solve Exercise 4-6: Variable support