Proper variable naming.

Do not name different variables with the same name in one function.