removed unneeded var assignment