removed unneeded var declaration