removed uneccessary variable