Removed unneeded var and doc