eliminate some unused variables.