solution for variables exercise 4