removing unused assigned variable