removed an unneeded variable