erased unused variables