this example uses instance variables.