Removed an unneeded variable