removed unneeded variable (minor change)