Obvious error -- causes error in runtime, because the variables are assigned locally and never to the actual class properties