cleared unused variables