removed unecessary variable