solution for variables exercise 3