removing unused or masking variables