re-declared variables removed for efficiency

Re-declaired variables removed for efficiency.