unused variables cleared