removed unneccessary variable (duplicate)