unneeded variable removed