removing unneeded var declaration