Removed unused variable
Removed unnecessary assingment