removing a local variable