MDL-35127 Assignment - declare the variables in the outer scope (for readability)