Deleted unused variables
Removed unused statements