The local namespace here is to reduce the reduplicate code for each times local names values assign. I am sorry that forget to add comment here.