Removing the unnecessary method specification
Removing unused variables