removing unneeded variable