Cleaned Code:
Removed unnecessary variable.