remove superfluous let statements
need to compare the differences