removed unnesessary variable