removed uneccessary var