removed used varible