deleted unused variables