removed unneccessary variable