removed unneeded variable