removed uneeded var