remove unneeded variable