delete unused variables to eliminate warnings