removing unused variables.