reoved unused variables